home *** CD-ROM | disk | FTP | other *** search
/ Die Ultimative Software-P…i Collection 1996 & 1997 / Die Ultimative Software-Pakete CD-ROM fur Atari Collection 1996 & 1997.iso / p / pov / povlisti.ngs / fringe.pov < prev    next >
Encoding:
Text File  |  1992-06-03  |  2.0 KB  |  79 lines

  1. // Persistence of Vision Raytracer
  2. // This data file makes a good starting point for developing tests and
  3. // new data files.  It is also used as the benchmark for the timing tests.
  4.  
  5. #include "include.inc"
  6.  
  7. // debugging texture redefinitions for quicker debugging
  8. //#declare Glass = texture { color Red }
  9. //#declare Glass2 = texture { color Yellow }
  10. //#declare Green_Glass = texture { color Green }
  11.  
  12. camera {
  13.    location <-4  8  -30>
  14.    direction <0.0 0.0  3.0>
  15.    up  <0.0  1.0  0.0>
  16.    right <1.33333 0.0 0.0>
  17.    look_at <3 1 0>
  18. }
  19.  
  20. // Use for fast debugging without color effects
  21. //object { light_source  { <-40 10   1.25>  color White  } }
  22.  
  23.  
  24. #declare Intensity = 0.35
  25. object { light_source  { <-40 10   1.25>   color red   Intensity } }
  26. object { light_source  { <-40 10  -2.50 >  color green Intensity } }
  27. object { light_source  { <-40 10  -3.25>   color blue  Intensity } }
  28. object { light_source  { <-40 11   1.25>   color red   Intensity } }
  29. object { light_source  { <-40 11  -2.50 >  color green Intensity } }
  30. object { light_source  { <-40 11  -3.25>   color blue  Intensity } }
  31.  
  32.  
  33.  
  34. object { sphere { <0 0 0>  10000 texture {color White ambient 1 } } }
  35. object { plane { <0 1 0> 0 }
  36.     texture {
  37.         0.05 color White ambient .1 reflection 0.1
  38. //          checker color White color Black
  39.     }
  40. }
  41.  
  42.  
  43. #declare Shape1 = object {
  44.     intersection {
  45.         intersection { Y_Disk }
  46.         plane { <0 1 0> 1 rotate <0 0 45> translate <1 0 0> texture { Green_Glass}}
  47.     }
  48.     texture { Glass2 }
  49.     translate <2 0 0>
  50. }
  51.  
  52. object { Shape1
  53.     scale <1 2 1>
  54. }
  55. object { Shape1
  56.     scale <1 3 1>
  57.     translate <0 3 0>
  58.     rotate <0 -30 0>
  59. }
  60. object { Shape1
  61.     scale <1 2.5 1>
  62.     translate <0 2.5 0>
  63.     rotate <0 30 0>
  64. }
  65.  
  66.  
  67. /* A set of axis to help me align everything...
  68. object { quadric { Cylinder_X }
  69.     texture { color Cyan }
  70.     scale <1 0.125 0.125>
  71.     translate <0 1 0>
  72. }
  73. object { quadric { Cylinder_Z }
  74.     texture { color Blue }
  75.     scale <0.125 0.125 1>
  76.     translate <0 1 0>
  77. }
  78. */
  79.